package com.example.admin.goodnews.entity;

import java.util.List;

/**
 * 快递查询结果实体类
 * Created by admin on 2016/10/24.
 */

public class KuaiDiJieGuoDataEntity {

    /**
     * showapi_res_code : 0
     * showapi_res_error :
     * showapi_res_body : {"mailNo":"215371453307","update":1477298781450,"updateStr":"2016-10-24 16:46:21","ret_code":0,"flag":true,"status":4,"tel":"95338","expSpellName":"shunfeng","data":[{"time":"2016-10-10 09:08:40","context":"已签收,感谢使用顺丰,期待再次为您服务"},{"time":"2016-10-10 08:07:48","context":"正在派送途中,请您准备签收(派件人:陶乔勇,电话:13783451609)"},{"time":"2016-10-10 07:48:20","context":"快件到达 【郑州市高新区丁香里路营业点】"},{"time":"2016-10-10 02:33:55","context":"快件在【郑州圃田集散中心】已装车，准备发往 【郑州市高新区丁香里路营业点】"},{"time":"2016-10-09 23:16:38","context":"快件到达 【郑州圃田集散中心】"},{"time":"2016-10-09 20:20:31","context":"快件在【平顶山丰源集散中心】已装车，准备发往 【郑州圃田集散中心】"},{"time":"2016-10-09 20:17:57","context":"快件到达 【平顶山丰源集散中心】"},{"time":"2016-10-09 19:51:33","context":"快件在【平顶山卫豫基城营业点】已装车，准备发往 【平顶山丰源集散中心】"},{"time":"2016-10-09 19:16:47","context":"顺丰速运 已收取快件"}],"expTextName":"顺丰速运"}
     */

    private int showapi_res_code;
    private String showapi_res_error;
    /**
     * mailNo : 215371453307
     * update : 1477298781450
     * updateStr : 2016-10-24 16:46:21
     * ret_code : 0
     * flag : true
     * status : 4
     * tel : 95338
     * expSpellName : shunfeng
     * data : [{"time":"2016-10-10 09:08:40","context":"已签收,感谢使用顺丰,期待再次为您服务"},{"time":"2016-10-10 08:07:48","context":"正在派送途中,请您准备签收(派件人:陶乔勇,电话:13783451609)"},{"time":"2016-10-10 07:48:20","context":"快件到达 【郑州市高新区丁香里路营业点】"},{"time":"2016-10-10 02:33:55","context":"快件在【郑州圃田集散中心】已装车，准备发往 【郑州市高新区丁香里路营业点】"},{"time":"2016-10-09 23:16:38","context":"快件到达 【郑州圃田集散中心】"},{"time":"2016-10-09 20:20:31","context":"快件在【平顶山丰源集散中心】已装车，准备发往 【郑州圃田集散中心】"},{"time":"2016-10-09 20:17:57","context":"快件到达 【平顶山丰源集散中心】"},{"time":"2016-10-09 19:51:33","context":"快件在【平顶山卫豫基城营业点】已装车，准备发往 【平顶山丰源集散中心】"},{"time":"2016-10-09 19:16:47","context":"顺丰速运 已收取快件"}]
     * expTextName : 顺丰速运
     */

    private ShowapiResBodyBean showapi_res_body;

    public int getShowapi_res_code() {
        return showapi_res_code;
    }

    public void setShowapi_res_code(int showapi_res_code) {
        this.showapi_res_code = showapi_res_code;
    }

    public String getShowapi_res_error() {
        return showapi_res_error;
    }

    public void setShowapi_res_error(String showapi_res_error) {
        this.showapi_res_error = showapi_res_error;
    }

    public ShowapiResBodyBean getShowapi_res_body() {
        return showapi_res_body;
    }

    public void setShowapi_res_body(ShowapiResBodyBean showapi_res_body) {
        this.showapi_res_body = showapi_res_body;
    }

    public static class ShowapiResBodyBean {
        private String mailNo;
        private long update;
        private String updateStr;
        private int ret_code;
        private boolean flag;
        private int status;
        private String tel;
        private String expSpellName;
        private String expTextName;
        /**
         * time : 2016-10-10 09:08:40
         * context : 已签收,感谢使用顺丰,期待再次为您服务
         */

        private List<DataBean> data;

        public String getMailNo() {
            return mailNo;
        }

        public void setMailNo(String mailNo) {
            this.mailNo = mailNo;
        }

        public long getUpdate() {
            return update;
        }

        public void setUpdate(long update) {
            this.update = update;
        }

        public String getUpdateStr() {
            return updateStr;
        }

        public void setUpdateStr(String updateStr) {
            this.updateStr = updateStr;
        }

        public int getRet_code() {
            return ret_code;
        }

        public void setRet_code(int ret_code) {
            this.ret_code = ret_code;
        }

        public boolean isFlag() {
            return flag;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public String getExpSpellName() {
            return expSpellName;
        }

        public void setExpSpellName(String expSpellName) {
            this.expSpellName = expSpellName;
        }

        public String getExpTextName() {
            return expTextName;
        }

        public void setExpTextName(String expTextName) {
            this.expTextName = expTextName;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            private String time;
            private String context;

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getContext() {
                return context;
            }

            public void setContext(String context) {
                this.context = context;
            }
        }
    }
}
